﻿using Newtonsoft.Json;
using System.Collections.Generic;

namespace Infrastructure.ExternalService.Core.Responses
{
    public class InterceptsResponse
    {
        [JsonProperty("totalCount")]
        public long TotalCount { get; set; }

        [JsonProperty("intercepts")]
        public List<Intercept> Intercepts { get; set; } 
    }

    public class Intercept
    {
        /// <summary>
        /// 拦截类型
        /// </summary>
        [JsonProperty("orderNo")]
        public string OrderNo { get; set; }


        /// <summary>
        /// 平台编码
        /// </summary>
        [JsonProperty("platformAppCode")]
        public string PlatformAppCode { get; set; }

        /// <summary>
        /// 平台名称
        /// </summary>
        [JsonProperty("platformAppName")]
        public string PlatformAppName { get; set; }

        /// <summary>
        /// 学员姓名
        /// </summary>
        [JsonProperty("studentName")]
        public string StudentName { get; set; }

        /// <summary>
        /// 学员手机
        /// </summary>
        [JsonProperty("studentMobile")]
        public string StudentMobile { get; set; }
        
        /// <summary>
        /// 学员手机
        /// </summary>
        [JsonProperty("studentUserId")]
        public string StudentUserId { get; set; }

        /// <summary>
        /// 拦截类型
        /// </summary>
        [JsonProperty("interceptType")]
        public string InterceptType { get; set; }

        /// <summary>
        /// 拦截类型名称
        /// </summary>
        [JsonProperty("interceptName")]
        public string InterceptName { get; set; }

        /// <summary>
        /// 订单创建时间
        /// </summary>
        [JsonProperty("orderCreatedTime")]
        public string OrderCreatedTime { get; set; }

        /// <summary>
        /// 被拦截时间
        /// </summary>
        [JsonProperty("interceptedTime")]
        public string InterceptedTime { get; set; }

        /// <summary>
        /// 拦截时长
        /// </summary>
        [JsonProperty("interceptDuration")]
        public string InterceptDuration { get; set; }

        /// <summary>
        /// 处理状态
        /// </summary>
        [JsonProperty("processStatus")]
        public string ProcessStatus { get; set; }

        /// <summary>
        /// 处理状态名称
        /// </summary>
        [JsonProperty("processName")]
        public string ProcessName { get; set; }
    }
}